package com.wu.ssm.spring.annotion;

import org.springframework.web.bind.annotation.RequestMethod;

import java.lang.annotation.*;

/**
 * Created by wzf on 2018/11/4/004.
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public  @interface MyRequestMapping {
    String value() default "";
    RequestMethod method() default RequestMethod.GET;
}
